#include "common.h"
PUBLIC S4B MemoryCopy(PCHAR destination,PCHAR source,U4B length)
{
   U4B i;
   for(i=0;i<length;i++)
     destination[i]=source[i];
   return i;
}

PUBLIC S4B MemoryGet1Byte(U4B address)
{
   PS1B content=(PS1B)address;
   return  ((S4B)((S1B)(*content)));
}

PUBLIC S4B MemoryGet4Byte(U4B address)
{
    PS4B content=(PS4B)address;
    return ((S4B)(*content));
}
